#include <string>
#include <vector>
#include <list>
#include <map>
#include <set>
#include <queue>
#include <deque>
#include <stack>
#include <bitset>
#include <algorithm>
#include <functional>
#include <numeric>
#include <utility>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <cstdio>
#include <cmath>
#include <cstdlib>
#include <ctime>
#include <fstream>
#include <set>
#include <stdio.h>
#include <cstring>

using namespace std;

int mystrcmp(const char *str1, const char *str2)
{
    if (!str1 && !str2) return 0;
    while (*str1 == *str2) {
        if (*str1 == '\0')
            return (0);
        str1++;
        str2++;
    }
    return *(unsigned char *)str1 - *(unsigned char *)str2; 
}

int main(int argc, char **argv)
{

    cout << "-----------------Test 1--------------------" << endl;
    cout << strcmp("hkuang", "hkuang") << endl;
    cout << mystrcmp("hkuang", "hkuang") << endl;

    cout << "-----------------Test 2--------------------" << endl;

    cout << strcmp("hkuaag", "hkuazg") << endl;
    cout << mystrcmp("hkuaag", "hkuazg") << endl;

    cout << "-----------------Test 3--------------------" << endl;
    cout << strcmp("hkuzag", "hkuazg") << endl;
    cout << mystrcmp("hkuzag", "hkuazg") << endl;

    cout << "-----------------Test 4--------------------" << endl;


    cout << "-----------------Test 5--------------------" << endl;



}
